Component({
  properties: {
    selected: {
      type: String,
      value: 'guangchang'
    }
  },

  data: {},

  methods: {
    onTagSelect(e) {
      const type = e.currentTarget.dataset.type;
      this.triggerEvent('select', { type });
    }
  }
});